const baseUrl = process.env.BASEURL
if (process.env.NODE_ENV === 'development') {
  // 实际代理转发表
  exports.proxy = {
    '/api': {
      target: baseUrl,
      ws: true,
      pathRewrite: {
        '^/api': '/'
      }
    },
    '/cctvApi': {
      target: "http://10.11.12.202:10086/api",
      // target: "http://101.91.156.132:10086/api",
      ws: true,
      pathRewrite: {
        '^/cctvApi': '/'
      }
    },
    '/mapApi': {
      target: "http://localhost:9998",
      ws: true,
      pathRewrite: {
        '^/mapApi': '/'
      }
    },
  }
}
// 改成本地 IP
exports.host = process.env.HOST

exports.port = process.env.PORT
